failure 45:
Requirement failed: {tgammaf.05} If x is a negative integer a NaN shall be returned
location |
trace |
/var/opt/lsb/test/olver-core/2013-01-21_10-20-40/math_gamma_scenario.utz (math_gamma_scenario.utt), line 1382 |
occurence |
scenario |
math_gamma_scenario |
specification function |
tgamma_spec() |
parameter value |
CallContext context = [pid=14280,thr=b74976c0] |
parameter value |
Unifloat * @x = (float) -5.0000000000000000e-01 (-0x.80000000P0F) |
parameter value |
Unifloat * x = (float) -5.0000000000000000e-01 (-0x.80000000P0F) |
parameter value |
ErrorCode * @errno = EOK |
parameter value |
ErrorCode * errno = EOK |
return value |
(Unifloat *) (float) -3.5449075698852539e+00 (-0x.E2DFC400P2F) |
coverage & branch |
C X IS NEGATIVE |
properties |
REQ failed |
tgammaf.05 |
expected value |
(float) NaN |
kind |
POSTCONDITION_FAILED |
similar known bug(s)
The tgamma(x) family of functions shall compute the mathematical gamma() function of x.
According to LSB, if x is a negative integer NaN shall be returned.
But on the target machine, the functions don't return NaN if the argument is negative.
|
|